<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@page contentType="text/html;charset=UTF-8"   language="java"  %>

<%--<fmt:bundle basename="message" />--%>
<%
  	String base = request.getContextPath();
%>
<!DOCTYPE html>
<html>
<%--
<c:if test="${sessionScope.language != null && sessionScope.language != ''}">
	<fmt:setLocale value="${sessionScope.language}" scope="session"/>

</c:if>--%>
	<head>
		<meta charset="utf-8">
		<title>Homepage - Market Place by jasons</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta http-equiv="expires" content="0">
		<jsp:include page="/pages/common/include.jsp" flush="true"/>

		<link rel="stylesheet"  href="<%=base%>/resources/css/market.css"/>
	</head>

	<body>
	<div id="en_ch"></div>


		<div id="offCanvasWrapper" class="mui-off-canvas-wrap mui-draggable">
			<!--侧滑菜单部分-->
			<aside id="offCanvasSide" class="mui-off-canvas-left">
				<div id="offCanvasSideScroll" class="mui-scroll-wrapper">
					<div class="mui-scroll">
						<jsp:include page="/pages/common/menu.jsp" flush="true" />
					</div>
				</div>
			</aside>
			<!--主界面部分-->
			<div class="mui-inner-wrap">
				<header class="mui-bar mui-bar-nav" id="headBox">
					<jsp:include page="/pages/common/top.jsp" flush="true" />
				</header>
				<div id="offCanvasContentScroll" class="mui-content mui-scroll-wrapper">
					<div class="mui-scroll">
						<!--banner-->
						<div id="slider" class="mui-slider">
							<div class="mui-slider-group mui-slider-loop">
								<!-- 额外增加的一个节点(循环轮播：第一个节点是最后一张轮播) -->
								<div class="mui-slider-item mui-slider-item-duplicate">
									<a href="#">
										<img src="<%=base%>/resources/images/banner.jpg" />
										<p class="mui-slider-title">Stamp Collection items!<%--<fmt:message key="index.banner4" />--%></p>
									</a>
								</div>
								<!-- 第一张 -->
								<div class="mui-slider-item">
									<a href="#">
										<img src="<%=base%>/resources/images/banner.jpg" />
										<p class="mui-slider-title">Check out our new collection!<%--<fmt:message key="index.banner1" />--%></p>
									</a>
								</div>
								<!-- 第二张 -->
								<div class="mui-slider-item">
									<a href="#">
										<img src="<%=base%>/resources/images/banner02.png" />
										<p class="mui-slider-title">Hamper for someone special!<%--<fmt:message key="index.banner2" />--%></p>
									</a>
								</div>
								<!-- 第三张 -->
								<div class="mui-slider-item">
									<a href="#">
										<img src="<%=base%>/resources/images/banner03.PNG" />
										<p class="mui-slider-title">Wine festival!<%--<fmt:message key="index.banner3" />--%></p>
									</a>
								</div>
								<!-- 第四张 -->
								<div class="mui-slider-item">
									<a href="#">
										<img src="<%=base%>/resources/images/banner04.PNG" />
										<p class="mui-slider-title">Stamp Collection items!<%--<fmt:message key="index.banner4" />--%></p>
									</a>
								</div>
								<!-- 额外增加的一个节点(循环轮播：最后一个节点是第一张轮播) -->
								<div class="mui-slider-item mui-slider-item-duplicate">
									<a href="#">
										<img src="<%=base%>/resources/images/banner.jpg" />
										<p class="mui-slider-title">Check out our new collection!<%--<fmt:message key="index.banner1" />--%></p>
									</a>
								</div>
							</div>
							<div class="mui-slider-indicator">
								<div class="mui-indicator mui-active"></div>
								<div class="mui-indicator"></div>
								<div class="mui-indicator"></div>
								<div class="mui-indicator"></div>
							</div>
						</div>

						<!--content-->
						<div class="wrap">
							<ul class="menu">
								<li id="findStore_index"><span><img src="<%=base%>/resources/images/icon/menu1.png" />Find a Store<%--<fmt:message key="index.menu.store" />--%></span></li>
								<li id="department_index"><span><img src="<%=base%>/resources/images/icon/menu2.png" />Department<%--<fmt:message key="index.menu.shopping" />--%></span></li>
								<li id="weekly_special_index"><span><img src="<%=base%>/resources/images/icon/menu3.png" />Weekly Specials<%--<fmt:message key="index.menu.Specials" />--%></span></li>
								<li id="wine_corner_index"><span><img src="<%=base%>/resources/images/icon/menu4.png" />Wine Corner<%--<fmt:message key="index.menu.wine" />--%></span></li>
								<li id="features_index"><span><img src="<%=base%>/resources/images/icon/menu5.png" />Features<%--<fmt:message key="index.menu.features" />--%></span></li>
								<li id="pre_orders_index"><span><img src="<%=base%>/resources/images/icon/menu6.png" />Pre-Orders<%--<fmt:message key="index.menu.preorder" />--%></span></li>
								<li id="popular_brands_index"><span><img src="<%=base%>/resources/images/icon/menu7.png" />Popular Brands<%--<fmt:message key="index.menu.popular" />--%></span></li>
								<li id="orders_index"><span><img src="<%=base%>/resources/images/icon/menu8.png" />My Orders<%--<fmt:message key="index.menu.myorder" />--%></span></li>
							</ul>
							<div class="classify-list">
								<div class="item">
									<img src="<%=base%>/resources/images/classify-pic1.jpg" />
									<p>Weekly Specials<%--<fmt:message key="index.classify.specials" />--%></p>
								</div>
								<div class="item">
									<img src="<%=base%>/resources/images/classify-pic2.jpg" />
									<p>Wine Corner<%--<fmt:message key="index.classify.win" />--%></p>
								</div>
							</div>
							<div class="other-classify">
								<div class="classify">
									<div class="title">
										<em style="font-weight: bold">Weekly Specials</em><%--<fmt:message key="index.classify.specials" />--%>
										<span class="mui-pull-right weekly-special">
											view all<%--<fmt:message key="index.classify.all" />--%>
											<em class="mui-icon mui-icon-arrowright"></em>
										</span>
									</div>
									<div class="slideBox vertical-list">
							            <ul>
							            </ul>
								        <div class="controll-btn prev"><img src="<%=base%>/resources/images/icon/main-prev.png" /></div>
								        <div class="controll-btn next"><img src="<%=base%>/resources/images/icon/main-next.png" /></div>
									</div>
								</div>
								<div class="classify">
									<div class="title">
										<em style="font-weight: bold">Wine Corner</em><%--<fmt:message key="index.classify.win" />--%>
										<span class="mui-pull-right wine-corner">
											view all<%--<fmt:message key="index.classify.all" />--%>
											<em class="mui-icon mui-icon-arrowright"></em>
										</span>
									</div>
									<div class="slideBox  vertical-list">
								        <ul></ul>
								        <div class="controll-btn prev"><img src="<%=base%>/resources/images/icon/main-prev.png" /></div>
								        <div class="controll-btn next"><img src="<%=base%>/resources/images/icon/main-next.png" /></div>
									</div>
								</div>
								<div class="classify">
									<div class="title">
										<em style="font-weight: bold">Gift Hampers</em><%--<fmt:message key="index.classify.preorder" />--%>
										<span class="mui-pull-right hampers">	<%--a little joy--%>view all<%--<fmt:message key="index.classify.all" />--%><em class="mui-icon mui-icon-arrowright"></em></span>
									</div>
									<div class="slideBox  vertical-list">
								        <ul>

										</ul>
								        <div class="controll-btn prev"><img src="<%=base%>/resources/images/icon/main-prev.png" /></div>
								        <div class="controll-btn next"><img src="<%=base%>/resources/images/icon/main-next.png" /></div>
									</div>
								</div>

							</div>

						</div>
						<div class="footer" id="footer">
							<jsp:include page="/pages/common/footer.jsp" flush="true" />
						</div>
					</div>
				</div>
				<!--searchbar-->
				<div class="searchBar">
					<jsp:include page="/pages/common/search.jsp" flush="true" />
				</div>

				<div class="rightBottom animate"></div>

				<!-- off-canvas backdrop -->
				<div class="mui-off-canvas-backdrop"></div>
			</div>
		</div>
		<script type="text/javascript" src="<%=base%>/resources/js/set_product_list.js" ></script>
		<script type="text/javascript" src="<%=base%>/resources/js/slide.js" ></script>
		<script src="<%=base%>/resources/js/market.js" type="text/javascript"></script>
		<script>
			//主界面和侧滑菜单界面均支持区域滚动；
			mui('#offCanvasSideScroll').scroll();
			mui('#offCanvasContentScroll').scroll();
		</script>
	</body>

</html>